<extend name="Adminuser/index" />

<block name="main">
    <div class="panel-heading">{$title}</div>
        <div class="panel-body">
            <div class="row">
                <div class="col-md-12" style="margin-left:185px;">
                	<form action="{:U('Admin/Adminrole/save')}" method='post' class="form-horizontal">
						<div class="form-group">
							<label for="" class="col-sm-2 control-label">角色名：</label>
							<div class="col-sm-4">
								<input type="text" name="name" class="form-control" value="{$vo.name}">
							</div>
						</div>
						<div class="form-group">
							<label for="" class="col-sm-2 control-label">说明：</label>
							<div class="col-sm-4">
								<input  type="text" name="remark" class="form-control" value="{$vo.remark}">
							</div>
						</div>						
						<div class="form-group">
							<div class="col-sm-4 col-sm-offset-2">
								<input type="radio" name="status" value="1" <if condition="$vo.status eq 1">checked</if>>启用
								<input type="radio" name="status" value="0" <if condition="$vo.status eq 0">checked</if>>禁用
							</div>
							<input type="hidden" name="id" value="{$vo.id}"></input>
						</div>
						<div class="form-group">
						    <div class="col-sm-offset-2 col-sm-4">
						      <button type="submit" class="btn btn-info">修 改</button>
						      <button type="reset" class="btn btn-danger">重 置</button>
						    </div>
						</div>				
					</form>
                </div>
            </div>
        </div>
    </div>
</block>